package main

import "fmt"

/*
运算符
*/
func main() {
	str := "你好 golang"
	for key, val := range str {
		fmt.Printf("key:%d val:%c \n", key, val)
	}
	fmt.Println("----------------------------------------------")
	switch a := 2; a {
	case 1:
		fmt.Println("1")
		fallthrough
	case 2:
		fmt.Println("2")
	default:
		fmt.Println("3")
	}
}
